.class public Lcom/instagram/creation/video/j/f;
.super Ljava/lang/Object;
.source "TimestampUtil.java"


# static fields
.field private static a:J

.field private static b:D

.field private static c:D

.field private static d:D


# direct methods
.method static constructor <clinit>()V
    .locals 6

    .prologue
    const-wide v4, 0x408f400000000000L

    .line 12
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v2

    sub-long/2addr v0, v2

    sput-wide v0, Lcom/instagram/creation/video/j/f;->a:J

    .line 14
    const-wide v0, 0x3f50624dd2f1a9fcL

    sput-wide v0, Lcom/instagram/creation/video/j/f;->b:D

    .line 15
    sget-wide v0, Lcom/instagram/creation/video/j/f;->b:D

    div-double/2addr v0, v4

    sput-wide v0, Lcom/instagram/creation/video/j/f;->c:D

    .line 16
    sput-wide v4, Lcom/instagram/creation/video/j/f;->d:D

    return-void
.end method

.method static synthetic a()D
    .locals 2

    .prologue
    .line 10
    sget-wide v0, Lcom/instagram/creation/video/j/f;->c:D

    return-wide v0
.end method

.method public static a(DLcom/instagram/creation/video/j/g;)D
    .locals 5
    .parameter
    .parameter

    .prologue
    .line 41
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    long-to-double v0, v0

    sget-object v2, Lcom/instagram/creation/video/j/g;->c:Lcom/instagram/creation/video/j/g;

    invoke-static {v0, v1, v2, p2}, Lcom/instagram/creation/video/j/f;->a(DLcom/instagram/creation/video/j/g;Lcom/instagram/creation/video/j/g;)D

    move-result-wide v0

    .line 45
    sub-double/2addr v0, p0

    invoke-static {v0, v1}, Ljava/lang/Math;->abs(D)D

    move-result-wide v0

    const-wide v2, 0x40b3880000000000L

    sget-object v4, Lcom/instagram/creation/video/j/g;->c:Lcom/instagram/creation/video/j/g;

    invoke-static {v2, v3, v4, p2}, Lcom/instagram/creation/video/j/f;->a(DLcom/instagram/creation/video/j/g;Lcom/instagram/creation/video/j/g;)D

    move-result-wide v2

    cmpg-double v0, v0, v2

    if-gez v0, :cond_0

    .line 46
    sget-wide v0, Lcom/instagram/creation/video/j/f;->a:J

    long-to-double v0, v0

    sget-object v2, Lcom/instagram/creation/video/j/g;->c:Lcom/instagram/creation/video/j/g;

    invoke-static {v0, v1, v2, p2}, Lcom/instagram/creation/video/j/f;->a(DLcom/instagram/creation/video/j/g;Lcom/instagram/creation/video/j/g;)D

    move-result-wide v0

    add-double/2addr p0, v0

    .line 49
    :cond_0
    return-wide p0
.end method

.method public static a(DLcom/instagram/creation/video/j/g;Lcom/instagram/creation/video/j/g;)D
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 37
    invoke-virtual {p2, p0, p1}, Lcom/instagram/creation/video/j/g;->a(D)D

    move-result-wide v0

    invoke-virtual {p3, v0, v1}, Lcom/instagram/creation/video/j/g;->b(D)D

    move-result-wide v0

    return-wide v0
.end method

.method static synthetic b()D
    .locals 2

    .prologue
    .line 10
    sget-wide v0, Lcom/instagram/creation/video/j/f;->b:D

    return-wide v0
.end method

.method static synthetic c()D
    .locals 2

    .prologue
    .line 10
    sget-wide v0, Lcom/instagram/creation/video/j/f;->d:D

    return-wide v0
.end method
